//从@reduxjs/toolkit包中导入configureStore,通过该函数创建store对象
import {configureStore} from '@reduxjs/toolkit'
import counterReducer from '@/store/modules/counterSlice'
import shopcartReucer from '@/store/modules/shopcartSlice'
const store=configureStore({
    reducer:{
        counterKey:counterReducer,
        shopcartKey:shopcartReucer
    }
})
export default store